using System;

namespace Testcraft
{
#if WINDOWS || XBOX
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        static void Main(string[] args)
        {
            string localAppFolder = System.IO.Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "Testcraft");
            if (!System.IO.Directory.Exists(localAppFolder))
            {
                System.IO.Directory.CreateDirectory(localAppFolder);
            }

            using (TestCraftGame game = new TestCraftGame())
            {
                game.Run();
            }
        }
    }
#endif
}

